module CategoryHelper
	
	def ban_image(category)
		html = []
		
		cat = current_top_category(category)
		if cat.permalink =~ /entreprise|unternehmen/
			html << "<img src='../images/pictures/1523118_small.jpg' class='middle' />"
		elsif cat.permalink =~ /candidat|bewerber/
			html << "<img src='../images/pictures/5056574_small.jpg' class='middle' />"
		elsif category.permalink =~ /deontologie/
			html << "<img src='../images/pictures/5526365_small.jpg' class='middle' />"
		else
			html << "<img src='../images/pictures/283222_small.jpg' />"
		end
	end
	
end
